<div class="page-content" >
				<div class="panel panel-default">
								<div class="panel-heading">
												<ul class="breadcrumb">
																<li class="active">填写物流信息</li>
												</ul>
								</div>
								<div class="panel-body">
												<form enctype="multipart/form-data"  action="/BoxAdmin/Order/logistics"  class="form-horizontal" method="post">
																<input type="hidden" name="order_sn"  value="<{$order_sn}>">
																<input type="hidden" name="goods_ids" value="<{$goods_ids}>">
																<div class="form-group">
																				<label for="input-title" class="col-sm-2 control-label">物流公司</label>
																				<div class="col-sm-7">
																								<select onChange="select_logistics_code(this)"  class="form-control" name="logistics_code">
																								<option value="" >请选择</option>
																												<volist name="wuliu" id="vo"> <option 
																																<if condition="$vo['code'] eq $data['logistics_code']"> selected="selected" </if>
																																value="<{$vo.code}>"><{$vo.name}>
																																</option>
																												</volist>
																								</select>
																								<input type="hidden" name="logistics_name" value="<{$data.logistics_name}>">
																				</div>
																</div>
																<div class="form-group">
																				<label for="input-title" class="col-sm-2 control-label">快递单号</label>
																				<div class="col-sm-7">
																								<input type="text" class="form-control" name="logistics_num"   value="<{$data.logistics_num}>" />
																				</div>
																</div>
																<!--<div class="form-group">
                            <label for="input-title" class="col-sm-2 control-label">未签收提醒</label>
                            <div class="col-sm-7">
              
                                <select name="remainDate">
								 <option value="0">不提醒</option>
                                   <for start="1" end="10">
                                       <option value="<{$i}>"><{$i}>天后提醒</option>
                                   </for>
                               </select>(发货多少天后，客户未收签收，提醒客服人员)
                            </div>
                        </div>-->
																
																<div class="form-group">
																				<label for="input-title" class="col-sm-2 control-label">备注</label>
																				<div class="col-sm-7">
																								<textarea name="remark" class="form-control"><{$data.remark}></textarea>
																				</div>
																</div>
																<div class="form-group">
																				<div class="col-sm-2"></div>
																				<div class="col-sm-7">
																								<button class="btn btn-primary" type="submit">确认保存</button>
																				</div>
																</div>
												</form>
								</div>
				</div>
</div>
<script>
 function select_logistics_code(_this){
		 var text=$(_this).find("option:selected").text();
			$("[name='logistics_name']").val(text);
	}
$(function(){
    $(".form-horizontal").bootstrapValidator({
        message: '您填入的值不合法',
        fields:{
            
			logistics_num: {
                message: '快递单号',
                validators: {
                    notEmpty: {
                        message: '快递单号不能为空'
                    },
                }
            },
			
			logistics_code: {
                message: '物流公司',
                validators: {
                    notEmpty: {
                        message: '请选择物流公司'
                    },
                }
            },
			
			remark: {
                message: '备注',
                validators: {
                    notEmpty: {
                        message: '备注不能为空'
                    },
                }
            },
			 
			  

        }
    });
	
 
});
 </script>